function getUser(){
	var usertype = "";
	$.ajax({
	        type: "post",
	        url: "/r/GetRole",
	        dataType: "json",
	       	async: false,
	        success: function (data, textStatus) {
	        	if(data[0] == "none"){
	        		window.location.href="/r/Relogin.html";
	        	}else{
	        		usertype = data[0];
	        	}
	        },
	        error: function (XMLHttpRequest, textStatus, errorThrown) {
	        
	        },
	        complete: function (XMLHttpRequest, textStatus) {
	            this; // 调用本次AJAX请求时传递的options参数
	        }
	    });
	    return usertype;
}
